﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.crew.ui {
    import flash.display.*;
    import flash.utils.*;
    import Display.DialogUI.*;
    import Classes.*;
    import Classes.util.*;

    public class RollCallIntroDialog extends GenericDialog {

        protected var m_spawner:MechanicMapResource;

        public function RollCallIntroDialog(_arg1:MechanicMapResource, _arg2:String, _arg3:String="", _arg4:int=0, _arg5:Function=null, _arg6:String="", _arg7:String="", _arg8:Boolean=true, _arg9:int=0, _arg10:String="", _arg11:Function=null, _arg12:String=""){
            this.m_spawner = _arg1;
            super("dialog", "RollCallIntroDialog", GenericDialogView.TYPE_CUSTOM_OK, _arg5, "RollCallIntroDialog", "", false, 0, "", null, _arg12);
        }
        override protected function createDialogView(_arg1:Dictionary):GenericDialogView{
            var _local2:RollCallIntroDialogView = new RollCallIntroDialogView(_arg1, m_message, m_dialogTitle, GenericDialogView.TYPE_CUSTOM_OK, this.m_callback, "", 0, "", null, this.m_customOk);
            return (_local2);
        }
        override protected function getAssetDependencies():Array{
            return ([DelayedAssetLoader.PAYROLL_ASSETS]);
        }
        override protected function createAssetDict():Dictionary{
            var _local1:Dictionary = new Dictionary(true);
            var _local2:Object = m_assetDependencies[DelayedAssetLoader.PAYROLL_ASSETS];
            _local1["dialog_bg"] = (new _local2.payroll_kickoffBG() as DisplayObject);
            _local1["payroll_dividerGradient"] = _local2.payroll_dividerGradient;
            _local1["payroll_icon_clock"] = _local2.payroll_icon_clock;
            _local1["payroll_icon_responses"] = _local2.payroll_icon_responses;
            _local1["payroll_reward_coin"] = _local2.payroll_reward_coin;
            _local1["payroll_reward_energy"] = _local2.payroll_reward_energy;
            _local1["payroll_reward_xp"] = _local2.payroll_reward_xp;
            _local1["payroll_rewardBG_blue"] = _local2.payroll_rewardBG_blue;
            _local1["payroll_sam_pigeon"] = _local2.payroll_sam_pigeon;
            _local1["payroll_starburst"] = _local2.payroll_starburst;
            _local1["payroll_pigeon"] = _local2.payroll_pigeon;
            _local1["payroll_rewardArrow"] = _local2.payroll_rewardArrow;
            _local1["spawner"] = this.m_spawner;
            return (_local1);
        }

    }
}//package Modules.crew.ui 
